#pragma once

#define _WIN32_LEAN_AND_MEAN

#include <dsound.h>
#include <XAudio2.h>
#include <Windows.h>
#include "DirectXFramework.h"
#pragma comment(lib, "dsound.lib")

class DirectSound
{
private:
	//IDirectSound8* mDSound;
	IXAudio2* MainSound;
	std::vector<LPDIRECTSOUNDBUFFER*> Buffers;

public:
	DirectSound(DWORD CoopLevel, unsigned short NumBuffers);
	~DirectSound();
};

extern DirectSound* gDSound;
extern CDirectXFramework* gd3dApp;